<div class="form-group">
<div class ="container">
<form class="form-horizontal" role="form" action="<?php echo site_url('safetypatrol/ubah');?>/<?php echo $hasil->ID_FORM; ?>" method="post">

<?php
if($this->session->userdata('role')==2 or $this->session->userdata('role')==3)
{
?>
        <label for="lokasi">Lokasi <span class="required">*</span></label>
        <input disabled required class="form-control" id="lokasi" type="text" name="lokasi" maxlength="50" value="<?php echo $hasil->LOKASI; ?>"  />
        <input required class="form-control" id="lokasi" type="hidden" name="lokasi" maxlength="50" value="<?php echo $hasil->LOKASI; ?>"  />
 
        <label for="bagian">Bagian <span class="required">*</span></label>
        <input disabled required class="form-control" id="bagian" type="text" name="bagian" maxlength="50" value="<?php echo $hasil->BAGIAN; ?>"  />
        <input class="form-control" id="bagian" type="hidden" name="bagian" maxlength="50" value="<?php echo $hasil->BAGIAN; ?>"  />

        <label for="departemen">Departemen <span class="required">*</span></label>
        <input disabled required class="form-control" id="departemen" type="text" name="departemen" maxlength="50" value="<?php echo $hasil->DEPARTEMEN; ?>"  />
        <input required class="form-control" id="departemen" type="hidden" name="departemen" maxlength="50" value="<?php echo $hasil->DEPARTEMEN; ?>"  />

        <label for="tanggal">Tanggal <span class="required">*</span></label>
       <input disabled required class="form-control" id="datepicker" type="text" name="tanggal" maxlength="50" value="<?php echo $hasil->TANGGAL; ?>"  />
       <input required class="form-control" id="datepicker" type="hidden" name="tanggal" maxlength="50" value="<?php echo $hasil->TANGGAL; ?>"  />
	   
	   <label for="jam">Jam <span class="required">*</span></label>
       <input disabled required class="form-control" id="time" type="text" name="jam" maxlength="50" value="<?php echo $hasil->JAM; ?>"  />
       <input required class="form-control" id="time" type="hidden" name="jam" maxlength="50" value="<?php echo $hasil->JAM; ?>"  />
 
 </br></br>
 <div class="container">
 
 <table class="table table-bordered table-condensed">
 <thead>
        <tr>
          <th>No</th>
          <th>Daftar Periksa</th>
          <th colspan="2"><center>Hasil Pemeriksaan</center></th>
		  
          <th>Keterangan</th>
        </tr>
		<tr>
          <th></th>
          <th></th>
          <th><center>YA</center></th>
		  <th><center>TIDAK</center></th>
          <th></th>
        </tr>
      </thead>
	  <tbody>
        <tr>
		<td> </td>
          <td><b><center>BAHAN</center></b></td>
        <td>  </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
       <td>1</td>
	   <td><label for="ditempatkan_sesuai_tempatnya">Ditempatkan Sesuai Tempatnya</label></td>
		<?php
		if($hasil->B1==1)
		{
		?>
            <td><input disabled class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="ya" checked /></td> 

        		<td> <center><input disabled class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="hidden" class="" value="ya" checked />
		<?php
		}
		else
		{
		?>
            <td>    <input disabled class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="ya" />
        		</td> 

        		<td> <center><input disabled class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="hidden" class="" value="tidak" checked />
		<?php
		}
		?>
			<td><center><input disabled class="form-control" id="ket1" type="text" name="ket1" maxlength="50" value="<?php echo $hasil->KB1; ?>" /></center>
 </td>
 </tr>
  

<tr>
 <td>2</td>
       <td> <label for="dipilah_sesuai_sifatnya">Dipilah Sesuai Sifatnya</label></td>
		<?php
		if($hasil->B2==1)
		{
		?>
                <td><input disabled class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input disabled class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="tidak" />
        		</center></td>
				</br>
				
				<input class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="hidden" class="" value="ya" checked />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="tidak" checked />
        		</center></td>
				</br>
				
				<input class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="hidden" class="" value="tidak" checked />
		<?php
		}
		?>
				<td> <input disabled class="form-control" id="ket2" type="text" name="ket2" maxlength="50" value="<?php echo $hasil->KB2; ?>" />
 </td></tr>
 <tr>
 
<td>3</td>
 
       <td> <label for="Kemasan">Kemasan tidak bocor dan tutup kemasan rapat</label></td>
		<?php
		if($hasil->B3==1)
		{
		?>
               <td> <input disabled class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input disabled class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="kemasan" name="kemasan" type="hidden" class="" value="ya" checked />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="ya"/>
        		</td>

        		<td><center><input disabled class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="kemasan" name="kemasan" type="hidden" class="" value="tidak" checked />
		<?php
		}
		?>
				<td> <input disabled class="form-control" id="ket3" type="text" name="ket3" maxlength="50" value="<?php echo $hasil->KB3; ?>" /></td>
 </tr><tr>

 <td>4</td>
        <td><label for="adalabel">Ada Label (Gambar/Simbol, Pernyataan bahaya dan kata peringatan)</label></td>
		<?php
		if($hasil->B4==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="adalabel" name="adalabel" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="adalabel" name="adalabel" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket4" type="text" name="ket4" maxlength="50" value="<?php echo $hasil->KB4; ?>" /></td>
 </tr><tr>
<td>5</td>
 
        <td><label for="tempat">Tempat penyimpanan dilengkapi dengan atap dan tanggul</label></td>
		<?php
		if($hasil->B5==1)
		{
		?>
                <td><input disabled checked class="form-control" id="tempat" name="tempat" type="radio" class="" value="ya"/>
        		</td>

        		<td><center><input disabled class="form-control" id="tempat" name="tempat" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tempat" name="tempat" type="hidden" class="" value="ya"/>
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="tempat" name="tempat" type="radio" class="" value="ya"/>
        		</td>

        		<td><center><input disabled checked class="form-control" id="tempat" name="tempat" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tempat" name="tempat" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket5" type="text" name="ket5" maxlength="50" value="<?php echo $hasil->KB5; ?>" /></td>
 </tr><tr>
 <td>6</td>

 
       <td> <label for="msds">Tersedia MSDS</label></td>
		<?php
		if($hasil->B6==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="msds" name="msds" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="msds" name="msds" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="msds" name="msds" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="msds" name="msds" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="msds" name="msds" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="msds" name="msds" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket6" type="text" name="ket6" maxlength="50" value="<?php echo $hasil->KB6; ?>" /></td>
 </tr><tr>
 <td>7</td>

 
        <td><label for="apd">Telah tersedia APD yang memadai</label></td>
		<?php
		if($hasil->B7==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="apd" name="apd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="apd" name="apd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="apd" name="apd" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="apd" name="apd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="apd" name="apd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="apd" name="apd" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket7" type="text" name="ket7" maxlength="50" value="<?php echo $hasil->KB7; ?>" /></td>
 </tr><tr>
<td>8</td>
 
       <td> <label for="lhyd">Tersedia line hydrant dan kondisinya baik</label></td>
		<?php
		if($hasil->B8==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lhyd" name="lhyd" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lhyd" name="lhyd" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket8" type="text" name="ket8" maxlength="50" value="<?php echo $hasil->KB8; ?>" /></td>
 </tr><tr>
 <td>9</td>

 
       <td> <label for="fhyd">Terdapat kotak Fire Hydrant beserta kelengkapan</label></td>
		<?php
		if($hasil->B9==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="fhyd" name="fhyd" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="fhyd" name="fhyd" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td> <input disabled class="form-control" id="ket9" type="text" name="ket9" maxlength="50" value="<?php echo $hasil->KB9; ?>" /></td>
 </tr><tr>
 <td>10</td>

 
        <td><label for="alarm">Terdapat alarm dan fire detector</label></td>
		<?php
		if($hasil->B10==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="alarm" name="alarm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="alarm" name="alarm" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="alarm" name="alarm" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="alarm" name="alarm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="alarm" name="alarm" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="alarm" name="alarm" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket10" type="text" name="ket10" maxlength="50" value="<?php echo $hasil->KB10; ?>" /></td>
 </tr><tr>
 <td>11</td>

 
        <td><label for="air">Terdapat pemercik air otomatis (Sprinkler)</label></td>
		<?php
		if($hasil->B11==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="air" name="air" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="air" name="air" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="air" name="air" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="air" name="air" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="air" name="air" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="air" name="air" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket11" type="text" name="ket11" maxlength="50" value="<?php echo $hasil->KB11; ?>" /></td>
 

</tr><tr>
<td></td>
<td>
<b>MANUSIA</b>
 </td>
 <td>
 </td><td>
 </td>
 <td>
 </td></tr><tr>
 <td>1</td>
        <td><label for="canda">Tidak bercanda dalam bekerja</label></td>
		<?php
		if($hasil->M1==1)
		{
		?>
                <td><input disabled checked class="form-control" id="canda" name="canda" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="canda" name="canda" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="canda" name="canda" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="canda" name="canda" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="canda" name="canda" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="canda" name="canda" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket12" type="text" name="ket12" maxlength="50" value="<?php echo $hasil->KM1; ?>" /></td>
 
</tr><tr>
<td>2</td>
 
        <td><label for="aman">Tidak terdapat sikap tidak aman</label></td>
		<?php
		if($hasil->M2==1)
		{
		?>
               <td> <input disabled checked class="form-control" id="aman" name="aman" type="radio" class="" value="ya" />
        		</td>
        		<td><center><input disabled class="form-control" id="aman" name="aman" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="aman" name="aman" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
               <td> <input disabled class="form-control" id="aman" name="aman" type="radio" class="" value="ya" />
        		</td>
        		<td><center><input disabled checked class="form-control" id="aman" name="aman" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="aman" name="aman" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket13" type="text" name="ket13" maxlength="50" value="<?php echo $hasil->KM2; ?>" /></td>
 
</tr><tr>
<td>3</td>
 
        <td><label for="apdd">APD telah digunakan sesuai resiko bahaya</label></td>
		<?php
		if($hasil->M3==1)
		{
		?>
                <td><input disabled checked class="form-control" id="apdd" name="apdd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="apdd" name="apdd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="apdd" name="apdd" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="apdd" name="apdd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="apdd" name="apdd" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="apdd" name="apdd" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket14" type="text" name="ket14" maxlength="50" value="<?php echo $hasil->KM3; ?>" /></td>
 </tr><tr>
<td>4</td>
 
        <td><label for="sim">Memiliki SIM/SIO/Sertifikat khusus</label></td>
		<?php
		if($hasil->M4==1)
		{
		?>
                <td><input disabled checked class="form-control" id="sim" name="sim" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="sim" name="sim" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sim" name="sim" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="sim" name="sim" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="sim" name="sim" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sim" name="sim" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><center><input disabled class="form-control" id="ket15" type="text" name="ket15" maxlength="50" value="<?php echo $hasil->KM4; ?>" /></center></td>
 </tr><tr>
 <td>5</td>

 
        <td><label for="waktu">Waktu bekerja dan beristirahat sesuai ketentuan</label></td>
		<?php
		if($hasil->M5==1)
		{
		?>
                <td><input disabled checked class="form-control" id="waktu" name="waktu" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="waktu" name="waktu" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="waktu" name="waktu" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="waktu" name="waktu" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="waktu" name="waktu" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="waktu" name="waktu" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket16" type="text" name="ket16" maxlength="50" value="<?php echo $hasil->KM5; ?>" /></td>
 </tr><tr>
 <td>6</td>

 
       <td> <label for="airm">Tersedia air minum yang memadai</label></td>
		<?php
		if($hasil->M6==1)
		{
		?>
                <td><input disabled checked class="form-control" id="airm" name="airm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="airm" name="airm" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="airm" name="airm" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="airm" name="airm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="airm" name="airm" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="airm" name="airm" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket17" type="text" name="ket17" maxlength="50" value="<?php echo $hasil->KM6; ?>" /></td>
 </tr><tr>
 <td></td>
<td>
<b>CARA KERJA</b>
 </td>
 <td>
 </td>
 <td>
 </td><td>
 </td></tr><tr>
 <td>1</td>
  <td> <label for="sop">Sesuai dengan SOP/IK</label></td>
		<?php
		if($hasil->C1==1)
		{
		?>
                <td><input disabled checked class="form-control" id="sop" name="sop" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="sop" name="sop" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sop" name="sop" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="sop" name="sop" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="sop" name="sop" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sop" name="sop" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket18" type="text" name="ket18" maxlength="50" value="<?php echo $hasil->KC1; ?>" /></td>
</tr><tr>
 <td>2</td>
  <td> <label for="bhy">Tidak terdapat cara kerja yang membahayakan diri sendiri maupun orang lain</label></td>
		<?php
		if($hasil->C2==1)
		{
		?>
                <td><input disabled checked class="form-control" id="bhy" name="bhy" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="bhy" name="bhy" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="bhy" name="bhy" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="bhy" name="bhy" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="bhy" name="bhy" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="bhy" name="bhy" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket19" type="text" name="ket19" maxlength="50" value="<?php echo $hasil->KC2; ?>" /></td>
        </tr><tr>
		<td>3</td>
  <td> <label for="jsa">Sudah terdapat Safety Permit/JSA</label></td>
		<?php
		if($hasil->C3==1)
		{
		?>
                <td><input disabled checked class="form-control" id="jsa" name="jsa" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="jsa" name="jsa" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="jsa" name="jsa" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="jsa" name="jsa" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="jsa" name="jsa" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="jsa" name="jsa" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket20" type="text" name="ket20" maxlength="50" value="<?php echo $hasil->KC3; ?>" /></td>
				</tr><tr>
	<td></td>
<td>
<b>PERALATAN</b>
 </td>
 <td>
 </td><td>
 </td>
 <td>
 </td></tr><tr>
 <td>1</td>
  <td> <label for="laik">Peralatan laik pakai dan aman untuk digunakan</label></td>
		<?php
		if($hasil->P1==1)
		{
		?>
                <td><input disabled checked class="form-control" id="laik" name="laik" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="laik" name="laik" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="laik" name="laik" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="laik" name="laik" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="laik" name="laik" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="laik" name="laik" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket21" type="text" name="ket21" maxlength="50" value="<?php echo $hasil->KP1; ?>" /></td>
				</tr><tr>
<td>2</td>
  <td> <label for="prl">Telah tersedia pengaman yang diperlukan</label></td>
		<?php
		if($hasil->P2==1)
		{
		?>
                <td><input disabled checked class="form-control" id="prl" name="prl" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="prl" name="prl" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="prl" name="prl" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="prl" name="prl" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="prl" name="prl" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="prl" name="prl" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket22" type="text" name="ket22" maxlength="50" value="<?php echo $hasil->KP2; ?>" /></td>
				</tr><tr>
<td>3</td>
  <td> <label for="kal">Alat ukur telah dikalibrasi</label></td>
		<?php
		if($hasil->P3==1)
		{
		?>
                <td><input disabled checked class="form-control" id="kal" name="kal" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="kal" name="kal" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="kal" name="kal" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="kal" name="kal" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="kal" name="kal" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="kal" name="kal" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket23" type="text" name="ket23" maxlength="50" value="<?php echo $hasil->KP3; ?>" /></td>
				</tr><tr>
				
				<td>4</td>
  <td> <label for="tng">Tenaga, Pagar dan lantai kerja laik dan aman digunakan</label></td>
		<?php
		if($hasil->P4==1)
		{
		?>
                <td><input disabled checked class="form-control" id="tng" name="tng" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="tng" name="tng" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tng" name="tng" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="tng" name="tng" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="tng" name="tng" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tng" name="tng" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket24" type="text" name="ket24" maxlength="50" value="<?php echo $hasil->KP4; ?>" /></td>
				</tr><tr>
	<td>5</td>
  <td> <label for="sak">Kotak listrik, saklar, sambungan kabel, kabel rol dalam kondisi baik</label></td>
		<?php
		if($hasil->P5==1)
		{
		?>
                <td><input disabled checked class="form-control" id="sak" name="sak" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="sak" name="sak" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sak" name="sak" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="sak" name="sak" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="sak" name="sak" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sak" name="sak" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket25" type="text" name="ket25" maxlength="50" value="<?php echo $hasil->KP5; ?>" /></td>
				</tr><tr>
				<td></td>
<td>
<b>LINGKUNGAN</b>
 </td>
 <td>
 </td>
 <td>
 </td><td>
 </td></tr><tr>
 <td>1</td>
  <td> <label for="lad">Lantai kerja, atap dan dinding ruang kerja bersih dan tidak rusak</label></td>
		<?php
		if($hasil->L1==1)
		{
		?>
                <td><input disabled checked class="form-control" id="lad" name="lad" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="lad" name="lad" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lad" name="lad" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="lad" name="lad" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="lad" name="lad" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lad" name="lad" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket26" type="text" name="ket26" maxlength="50" value="<?php echo $hasil->KL1; ?>" /></td>
				</tr><tr>
 <td>2</td>
  <td> <label for="ven">Telah tersedia ventilasi yang memadai</label></td>
		<?php
		if($hasil->L2==1)
		{
		?>
                <td><input disabled checked class="form-control" id="ven" name="ven" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="ven" name="ven" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ven" name="ven" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="ven" name="ven" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="ven" name="ven" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ven" name="ven" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket27" type="text" name="ket27" maxlength="50" value="<?php echo $hasil->KL2; ?>" /></td>
				</tr><tr>
				<td>3</td>
  <td> <label for="pen">Penerangan sudah memadai</label></td>
		<?php
		if($hasil->L3==1)
		{
		?>
                <td><input disabled checked class="form-control" id="pen" name="pen" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="pen" name="pen" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="pen" name="pen" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="pen" name="pen" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="pen" name="pen" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="pen" name="pen" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket28" type="text" name="ket28" maxlength="50" value="<?php echo $hasil->KL3; ?>" /></td>
				</tr><tr>
				<td>4</td>
  <td> <label for="bis">Tidak Bising</label></td>
		<?php
		if($hasil->L4==1)
		{
		?>
                <td><input disabled checked class="form-control" id="bis" name="bis" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="bis" name="bis" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="bis" name="bis" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="bis" name="bis" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="bis" name="bis" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="bis" name="bis" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket29" type="text" name="ket29" maxlength="50" value="<?php echo $hasil->KL4; ?>" /></td>
				</tr><tr>
				
				<td>5</td>
  <td> <label for="pap">Tidak terdapat paparan debu/gas berbahaya</label></td>
		<?php
		if($hasil->L5==1)
		{
		?>
                <td><input disabled checked class="form-control" id="pap" name="pap" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="pap" name="pap" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="pap" name="pap" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="pap" name="pap" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="pap" name="pap" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="pap" name="pap" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket30" type="text" name="ket30" maxlength="50" value="<?php echo $hasil->KL5; ?>" /></td>
				</tr><tr>
				<td>6</td>
  <td> <label for="ding">Temperatur memadai (Tidak terlalu panas/dingin)</label></td>
		<?php
		if($hasil->L6==1)
		{
		?>
                <td><input disabled checked class="form-control" id="ding" name="ding" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="ding" name="ding" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ding" name="ding" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="ding" name="ding" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="ding" name="ding" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ding" name="ding" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket31" type="text" name="ket31" maxlength="50" value="<?php echo $hasil->KL6; ?>" /></td>
				</tr><tr>
				<td>7</td>
  <td> <label for="sih">Kebersihan Terjaga</label></td>
		<?php
		if($hasil->L7==1)
		{
		?>
                <td><input disabled checked class="form-control" id="sih" name="sih" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="sih" name="sih" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sih" name="sih" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="sih" name="sih" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="sih" name="sih" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sih" name="sih" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket32" type="text" name="ket32" maxlength="50" value="<?php echo $hasil->KL7; ?>" /></td>
				</tr><tr>
				<td>8</td>
  <td> <label for="ramb">Telah tersedia rambu peringatan, larangan, dan petunjuk yang diperlukan dan berkaitan dengan K3</label></td>
		<?php
		if($hasil->L8==1)
		{
		?>
                <td><input disabled checked class="form-control" id="ramb" name="ramb" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="ramb" name="ramb" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ramb" name="ramb" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="ramb" name="ramb" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="ramb" name="ramb" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ramb" name="ramb" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket33" type="text" name="ket33" maxlength="50" value="<?php echo $hasil->KL8; ?>" /></td>
				</tr><tr>
				<td>9</td>
  <td> <label for="hala">Tidak ada penghalang</label></td>
		<?php
		if($hasil->L9==1)
		{
		?>
                <td><input disabled checked class="form-control" id="hala" name="hala" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="hala" name="hala" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="hala" name="hala" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="hala" name="hala" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="hala" name="hala" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="hala" name="hala" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket34" type="text" name="ket34" maxlength="50" value="<?php echo $hasil->KL9; ?>" /></td>
				</tr><tr>
				<td>10</td>
  <td> <label for="rga">Tersedia ruang ganti dalam keadaan bersih dan rapi</label></td>
		<?php
		if($hasil->L10==1)
		{
		?>
                <td><input disabled checked class="form-control" id="rga" name="rga" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="rga" name="rga" type="radio" class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="rga" name="rga" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="rga" name="rga" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="rga" name="rga" type="radio" class="" value="tidak" />
        		</center></td>
				
                <input class="form-control" id="rga" name="rga" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket35" type="text" name="ket35" maxlength="50" value="<?php echo $hasil->KL10; ?>" /></td>
				</tr><tr>
				<td>11</td>
  <td> <label for="wc">Kamar mandi dan WC dalam keadaan bersih</label></td>
		<?php
		if($hasil->L11==1)
		{
		?>
                <td><input disabled checked class="form-control" id="wc" name="wc" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="wc" name="wc" type="radio" class="" value="tidak" />
        		</center></td>
				
                <input class="form-control" id="wc" name="wc" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="wc" name="wc" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="wc" name="wc" type="radio" class="" value="tidak" />
        		</center></td>
                <input class="form-control" id="wc" name="wc" type="hidden" class="" value="tidak" />
				
                <input class="form-control" id="wc" name="wc" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket35" type="text" name="ket36" maxlength="50" value="<?php echo $hasil->KL11; ?>" /></td>
				</tr><tr>
				<td>12</td>
  <td> <label for="dra">Sistem drainase tidak tersumbat</label></td>
        		</td>
		<?php
		if($hasil->L12==1)
		{
		?>
                <td><input disabled checked class="form-control" id="dra" name="dra" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled class="form-control" id="dra" name="dra" type="radio" class="" value="tidak" />
        		</center></td>
				
                <input class="form-control" id="dra" name="dra" type="hidden" class="" value="ya" />
		<?php
		}
		else
		{
		?>
                <td><input disabled class="form-control" id="dra" name="dra" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input disabled checked class="form-control" id="dra" name="dra" type="radio" class="" value="tidak" />
        		</center></td>
				
                <input class="form-control" id="dra" name="dra" type="hidden" class="" value="tidak" />
		<?php
		}
		?>
				<td><input disabled class="form-control" id="ket36" type="text" name="ket37" maxlength="50" value="<?php echo $hasil->KL12; ?>" /></td>
				</tr><tr></tbody>
</table>
<label for="nama">NIK Anggota <span class="required">*</span></label>
        <input disabled required class="form-control" id="nama1" type="text" name="nama1" maxlength="50" value="<?php echo $hasil->ANGGOTA; ?>"  />
        <input required class="form-control" id="nama1" type="hidden" name="nama1" maxlength="50" value="<?php echo $hasil->ANGGOTA; ?>"  />
        <input required class="form-control" id="nama2" type="hidden" name="nama2" maxlength="50" value="<?php echo $hasil->ANGGOTA2; ?>"  />
</br></br>
<?php
}
else
{
?>
        <label for="lokasi">Lokasi <span class="required">*</span></label>
        <input required class="form-control" id="lokasi" type="text" name="lokasi" maxlength="50" value="<?php echo $hasil->LOKASI; ?>"  />
 
        <label for="bagian">Bagian <span class="required">*</span></label>
        <input required class="form-control" id="bagian" type="text" name="bagian" maxlength="50" value="<?php echo $hasil->BAGIAN; ?>"  />

        <label for="departemen">Departemen <span class="required">*</span></label>
        <input required class="form-control" id="departemen" type="text" name="departemen" maxlength="50" value="<?php echo $hasil->DEPARTEMEN; ?>" readonly />

        <label for="tanggal">Tanggal <span class="required">*</span></label>
       <input required readonly class="form-control" id="-datepicker" type="text" name="tanggal" maxlength="50" value="<?php echo $hasil->TANGGAL; ?>"  />
	   
	   <label for="jam">Jam <span class="required">*</span></label>
       <input required readonly class="form-control" id="-datetime" type="text" name="jam" maxlength="50" value="<?php echo $hasil->JAM; ?>"  />
 
 </br></br>
 <div class="container">
 
 <table class="table table-bordered table-condensed">
 <thead>
        <tr>
          <th>No</th>
          <th>Daftar Periksa</th>
          <th colspan="2"><center>Hasil Pemeriksaan</center></th>
		  
          <th>Keterangan</th>
        </tr>
		<tr>
          <th></th>
          <th></th>
          <th><center>YA</center></th>
		  <th><center>TIDAK</center></th>
          <th></th>
        </tr>
      </thead>
	  <tbody>
        <tr>
		<td> </td>
          <td><b><center>BAHAN</center></b></td>
        <td>  </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
       <td>1</td>
	   <td><label for="ditempatkan_sesuai_tempatnya">Ditempatkan Sesuai Tempatnya</label></td>
		<?php
		if($hasil->B1==1)
		{
		?>
            <td>    <input class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="ya" checked />
        		</td> 

        		<td> <center><input class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
            <td>    <input class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="ya" />
        		</td> 

        		<td> <center><input class="form-control" id="ditempatkan_sesuai_tempatnya" name="ditempatkan_sesuai_tempatnya" type="radio" class="" value="tidak" checked />
        		</center></td>
		<?php
		}
		?>
			<td><center><input class="form-control" id="ket1" type="text" name="ket1" maxlength="50" value="<?php echo $hasil->KB1; ?>" /></center>
 </td>
 </tr>
  

<tr>
 <td>2</td>
       <td> <label for="dipilah_sesuai_sifatnya">Dipilah Sesuai Sifatnya</label></td>
		<?php
		if($hasil->B2==1)
		{
		?>
                <td><input class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="tidak" />
        		</center></td>
				</br>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="dipilah_sesuai_sifatnya" name="dipilah_sesuai_sifatnya" type="radio" class="" value="tidak" checked />
        		</center></td>
				</br>
		<?php
		}
		?>
				<td> <input class="form-control" id="ket2" type="text" name="ket2" maxlength="50" value="<?php echo $hasil->KB2; ?>" />
 </td></tr>
 <tr>
 
<td>3</td>
 
       <td> <label for="Kemasan">Kemasan tidak bocor dan tutup kemasan rapat</label></td>
		<?php
		if($hasil->B3==1)
		{
		?>
               <td> <input class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="ya"/>
        		</td>

        		<td><center><input class="form-control" id="kemasan" name="kemasan" type="radio" class="" value="tidak" checked />
        		</center></td>
		<?php
		}
		?>
				<td> <input class="form-control" id="ket3" type="text" name="ket3" maxlength="50" value="<?php echo $hasil->KB3; ?>" /></td>
 </tr><tr>

 <td>4</td>
        <td><label for="adalabel">Ada Label (Gambar/Simbol, Pernyataan bahaya dan kata peringatan)</label></td>
		<?php
		if($hasil->B4==1)
		{
		?>
               <td> <input checked class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="adalabel" name="adalabel" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket4" type="text" name="ket4" maxlength="50" value="<?php echo $hasil->KB4; ?>" /></td>
 </tr><tr>
<td>5</td>
 
        <td><label for="tempat">Tempat penyimpanan dilengkapi dengan atap dan tanggul</label></td>
		<?php
		if($hasil->B5==1)
		{
		?>
                <td><input checked class="form-control" id="tempat" name="tempat" type="radio" class="" value="ya"/>
        		</td>

        		<td><center><input class="form-control" id="tempat" name="tempat" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="tempat" name="tempat" type="radio" class="" value="ya"/>
        		</td>

        		<td><center><input checked class="form-control" id="tempat" name="tempat" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket5" type="text" name="ket5" maxlength="50" value="<?php echo $hasil->KB5; ?>" /></td>
 </tr><tr>
 <td>6</td>

 
       <td> <label for="msds">Tersedia MSDS</label></td>
		<?php
		if($hasil->B6==1)
		{
		?>
               <td> <input checked class="form-control" id="msds" name="msds" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="msds" name="msds" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="msds" name="msds" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="msds" name="msds" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket6" type="text" name="ket6" maxlength="50" value="<?php echo $hasil->KB6; ?>" /></td>
 </tr><tr>
 <td>7</td>

 
        <td><label for="apd">Telah tersedia APD yang memadai</label></td>
		<?php
		if($hasil->B7==1)
		{
		?>
               <td> <input checked class="form-control" id="apd" name="apd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="apd" name="apd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="apd" name="apd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="apd" name="apd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket7" type="text" name="ket7" maxlength="50" value="<?php echo $hasil->KB7; ?>" /></td>
 </tr><tr>
<td>8</td>
 
       <td> <label for="lhyd">Tersedia line hydrant dan kondisinya baik</label></td>
		<?php
		if($hasil->B8==1)
		{
		?>
               <td> <input checked class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="lhyd" name="lhyd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket8" type="text" name="ket8" maxlength="50" value="<?php echo $hasil->KB8; ?>" /></td>
 </tr><tr>
 <td>9</td>

 
       <td> <label for="fhyd">Terdapat kotak Fire Hydrant beserta kelengkapan</label></td>
		<?php
		if($hasil->B9==1)
		{
		?>
               <td> <input checked class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="fhyd" name="fhyd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td> <input class="form-control" id="ket9" type="text" name="ket9" maxlength="50" value="<?php echo $hasil->KB9; ?>" /></td>
 </tr><tr>
 <td>10</td>

 
        <td><label for="alarm">Terdapat alarm dan fire detector</label></td>
		<?php
		if($hasil->B10==1)
		{
		?>
               <td> <input checked class="form-control" id="alarm" name="alarm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="alarm" name="alarm" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="alarm" name="alarm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="alarm" name="alarm" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket10" type="text" name="ket10" maxlength="50" value="<?php echo $hasil->KB10; ?>" /></td>
 </tr><tr>
 <td>11</td>

 
        <td><label for="air">Terdapat pemercik air otomatis (Sprinkler)</label></td>
		<?php
		if($hasil->B11==1)
		{
		?>
               <td> <input checked class="form-control" id="air" name="air" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="air" name="air" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="air" name="air" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="air" name="air" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket11" type="text" name="ket11" maxlength="50" value="<?php echo $hasil->KB11; ?>" /></td>
 

</tr><tr>
<td></td>
<td>
<b>MANUSIA</b>
 </td>
 <td>
 </td><td>
 </td>
 <td>
 </td></tr><tr>
 <td>1</td>
        <td><label for="canda">Tidak bercanda dalam bekerja</label></td>
		<?php
		if($hasil->M1==1)
		{
		?>
                <td><input checked class="form-control" id="canda" name="canda" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="canda" name="canda" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="canda" name="canda" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="canda" name="canda" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket12" type="text" name="ket12" maxlength="50" value="<?php echo $hasil->KM1; ?>" /></td>
 
</tr><tr>
<td>2</td>
 
        <td><label for="aman">Tidak terdapat sikap tidak aman</label></td>
		<?php
		if($hasil->M2==1)
		{
		?>
               <td> <input checked class="form-control" id="aman" name="aman" type="radio" class="" value="ya" />
        		</td>
        		<td><center><input class="form-control" id="aman" name="aman" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
               <td> <input class="form-control" id="aman" name="aman" type="radio" class="" value="ya" />
        		</td>
        		<td><center><input checked class="form-control" id="aman" name="aman" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket13" type="text" name="ket13" maxlength="50" value="<?php echo $hasil->KM2; ?>" /></td>
 
</tr><tr>
<td>3</td>
 
        <td><label for="apdd">APD telah digunakan sesuai resiko bahaya</label></td>
		<?php
		if($hasil->M3==1)
		{
		?>
                <td><input checked class="form-control" id="apdd" name="apdd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="apdd" name="apdd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="apdd" name="apdd" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="apdd" name="apdd" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket14" type="text" name="ket14" maxlength="50" value="<?php echo $hasil->KM3; ?>" /></td>
 </tr><tr>
<td>4</td>
 
        <td><label for="sim">Memiliki SIM/SIO/Sertifikat khusus</label></td>
		<?php
		if($hasil->M4==1)
		{
		?>
                <td><input checked class="form-control" id="sim" name="sim" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sim" name="sim" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="sim" name="sim" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="sim" name="sim" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><center><input class="form-control" id="ket15" type="text" name="ket15" maxlength="50" value="<?php echo $hasil->KM4; ?>" /></center></td>
 </tr><tr>
 <td>5</td>

 
        <td><label for="waktu">Waktu bekerja dan beristirahat sesuai ketentuan</label></td>
		<?php
		if($hasil->M5==1)
		{
		?>
                <td><input checked class="form-control" id="waktu" name="waktu" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="waktu" name="waktu" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="waktu" name="waktu" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="waktu" name="waktu" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket16" type="text" name="ket16" maxlength="50" value="<?php echo $hasil->KM5; ?>" /></td>
 </tr><tr>
 <td>6</td>

 
       <td> <label for="airm">Tersedia air minum yang memadai</label></td>
		<?php
		if($hasil->M6==1)
		{
		?>
                <td><input checked class="form-control" id="airm" name="airm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="airm" name="airm" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="airm" name="airm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="airm" name="airm" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket17" type="text" name="ket17" maxlength="50" value="<?php echo $hasil->KM6; ?>" /></td>
 </tr><tr>
 <td></td>
<td>
<b>CARA KERJA</b>
 </td>
 <td>
 </td>
 <td>
 </td><td>
 </td></tr><tr>
 <td>1</td>
  <td> <label for="sop">Sesuai dengan SOP/IK</label></td>
		<?php
		if($hasil->C1==1)
		{
		?>
                <td><input checked class="form-control" id="sop" name="sop" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sop" name="sop" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="sop" name="sop" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="sop" name="sop" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket18" type="text" name="ket18" maxlength="50" value="<?php echo $hasil->KC1; ?>" /></td>
</tr><tr>
 <td>2</td>
  <td> <label for="bhy">Tidak terdapat cara kerja yang membahayakan diri sendiri maupun orang lain</label></td>
		<?php
		if($hasil->C2==1)
		{
		?>
                <td><input checked class="form-control" id="bhy" name="bhy" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="bhy" name="bhy" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="bhy" name="bhy" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="bhy" name="bhy" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket19" type="text" name="ket19" maxlength="50" value="<?php echo $hasil->KC2; ?>" /></td>
        </tr><tr>
		<td>3</td>
  <td> <label for="jsa">Sudah terdapat Safety Permit/JSA</label></td>
		<?php
		if($hasil->C3==1)
		{
		?>
                <td><input checked class="form-control" id="jsa" name="jsa" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="jsa" name="jsa" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="jsa" name="jsa" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="jsa" name="jsa" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket20" type="text" name="ket20" maxlength="50" value="<?php echo $hasil->KC3; ?>" /></td>
				</tr><tr>
	<td></td>
<td>
<b>PERALATAN</b>
 </td>
 <td>
 </td><td>
 </td>
 <td>
 </td></tr><tr>
 <td>1</td>
  <td> <label for="laik">Peralatan laik pakai dan aman untuk digunakan</label></td>
		<?php
		if($hasil->P1==1)
		{
		?>
                <td><input checked class="form-control" id="laik" name="laik" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="laik" name="laik" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="laik" name="laik" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="laik" name="laik" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket21" type="text" name="ket21" maxlength="50" value="<?php echo $hasil->KP1; ?>" /></td>
				</tr><tr>
<td>2</td>
  <td> <label for="prl">Telah tersedia pengaman yang diperlukan</label></td>
		<?php
		if($hasil->P2==1)
		{
		?>
                <td><input checked class="form-control" id="prl" name="prl" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="prl" name="prl" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="prl" name="prl" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="prl" name="prl" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket22" type="text" name="ket22" maxlength="50" value="<?php echo $hasil->KP2; ?>" /></td>
				</tr><tr>
<td>3</td>
  <td> <label for="kal">Alat ukur telah dikalibrasi</label></td>
		<?php
		if($hasil->P3==1)
		{
		?>
                <td><input checked class="form-control" id="kal" name="kal" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="kal" name="kal" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="kal" name="kal" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="kal" name="kal" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket23" type="text" name="ket23" maxlength="50" value="<?php echo $hasil->KP3; ?>" /></td>
				</tr><tr>
				
				<td>4</td>
  <td> <label for="tng">Tenaga, Pagar dan lantai kerja laik dan aman digunakan</label></td>
		<?php
		if($hasil->P4==1)
		{
		?>
                <td><input checked class="form-control" id="tng" name="tng" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tng" name="tng" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="tng" name="tng" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="tng" name="tng" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket24" type="text" name="ket24" maxlength="50" value="<?php echo $hasil->KP4; ?>" /></td>
				</tr><tr>
	<td>5</td>
  <td> <label for="sak">Kotak listrik, saklar, sambungan kabel, kabel rol dalam kondisi baik</label></td>
		<?php
		if($hasil->P5==1)
		{
		?>
                <td><input checked class="form-control" id="sak" name="sak" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sak" name="sak" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="sak" name="sak" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="sak" name="sak" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket25" type="text" name="ket25" maxlength="50" value="<?php echo $hasil->KP5; ?>" /></td>
				</tr><tr>
				<td></td>
<td>
<b>LINGKUNGAN</b>
 </td>
 <td>
 </td>
 <td>
 </td><td>
 </td></tr><tr>
 <td>1</td>
  <td> <label for="lad">Lantai kerja, atap dan dinding ruang kerja bersih dan tidak rusak</label></td>
		<?php
		if($hasil->L1==1)
		{
		?>
                <td><input checked class="form-control" id="lad" name="lad" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lad" name="lad" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="lad" name="lad" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="lad" name="lad" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket26" type="text" name="ket26" maxlength="50" value="<?php echo $hasil->KL1; ?>" /></td>
				</tr><tr>
 <td>2</td>
  <td> <label for="ven">Telah tersedia ventilasi yang memadai</label></td>
		<?php
		if($hasil->L2==1)
		{
		?>
                <td><input checked class="form-control" id="ven" name="ven" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ven" name="ven" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="ven" name="ven" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="ven" name="ven" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket27" type="text" name="ket27" maxlength="50" value="<?php echo $hasil->KL2; ?>" /></td>
				</tr><tr>
				<td>3</td>
  <td> <label for="pen">Penerangan sudah memadai</label></td>
		<?php
		if($hasil->L3==1)
		{
		?>
                <td><input checked class="form-control" id="pen" name="pen" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="pen" name="pen" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="pen" name="pen" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="pen" name="pen" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket28" type="text" name="ket28" maxlength="50" value="<?php echo $hasil->KL3; ?>" /></td>
				</tr><tr>
				<td>4</td>
  <td> <label for="bis">Tidak Bising</label></td>
		<?php
		if($hasil->L4==1)
		{
		?>
                <td><input checked class="form-control" id="bis" name="bis" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="bis" name="bis" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="bis" name="bis" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="bis" name="bis" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket29" type="text" name="ket29" maxlength="50" value="<?php echo $hasil->KL4; ?>" /></td>
				</tr><tr>
				
				<td>5</td>
  <td> <label for="pap">Tidak terdapat paparan debu/gas berbahaya</label></td>
		<?php
		if($hasil->L5==1)
		{
		?>
                <td><input checked class="form-control" id="pap" name="pap" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="pap" name="pap" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="pap" name="pap" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="pap" name="pap" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket30" type="text" name="ket30" maxlength="50" value="<?php echo $hasil->KL5; ?>" /></td>
				</tr><tr>
				<td>6</td>
  <td> <label for="ding">Temperatur memadai (Tidak terlalu panas/dingin)</label></td>
		<?php
		if($hasil->L6==1)
		{
		?>
                <td><input checked class="form-control" id="ding" name="ding" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ding" name="ding" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="ding" name="ding" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="ding" name="ding" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket31" type="text" name="ket31" maxlength="50" value="<?php echo $hasil->KL6; ?>" /></td>
				</tr><tr>
				<td>7</td>
  <td> <label for="sih">Kebersihan Terjaga</label></td>
		<?php
		if($hasil->L7==1)
		{
		?>
                <td><input checked class="form-control" id="sih" name="sih" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sih" name="sih" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="sih" name="sih" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="sih" name="sih" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket32" type="text" name="ket32" maxlength="50" value="<?php echo $hasil->KL7; ?>" /></td>
				</tr><tr>
				<td>8</td>
  <td> <label for="ramb">Telah tersedia rambu peringatan, larangan, dan petunjuk yang diperlukan dan berkaitan dengan K3</label></td>
		<?php
		if($hasil->L8==1)
		{
		?>
                <td><input checked class="form-control" id="ramb" name="ramb" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ramb" name="ramb" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="ramb" name="ramb" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="ramb" name="ramb" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket33" type="text" name="ket33" maxlength="50" value="<?php echo $hasil->KL8; ?>" /></td>
				</tr><tr>
				<td>9</td>
  <td> <label for="hala">Tidak ada penghalang</label></td>
		<?php
		if($hasil->L9==1)
		{
		?>
                <td><input checked class="form-control" id="hala" name="hala" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="hala" name="hala" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="hala" name="hala" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="hala" name="hala" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket34" type="text" name="ket34" maxlength="50" value="<?php echo $hasil->KL9; ?>" /></td>
				</tr><tr>
				<td>10</td>
  <td> <label for="rga">Tersedia ruang ganti dalam keadaan bersih dan rapi</label></td>
		<?php
		if($hasil->L10==1)
		{
		?>
                <td><input checked class="form-control" id="rga" name="rga" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="rga" name="rga" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="rga" name="rga" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="rga" name="rga" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket35" type="text" name="ket35" maxlength="50" value="<?php echo $hasil->KL10; ?>" /></td>
				</tr><tr>
				<td>11</td>
  <td> <label for="wc">Kamar mandi dan WC dalam keadaan bersih</label></td>
		<?php
		if($hasil->L11==1)
		{
		?>
                <td><input checked class="form-control" id="wc" name="wc" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="wc" name="wc" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="wc" name="wc" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="wc" name="wc" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket35" type="text" name="ket36" maxlength="50" value="<?php echo $hasil->KL11; ?>" /></td>
				</tr><tr>
				<td>12</td>
  <td> <label for="dra">Sistem drainase tidak tersumbat</label></td>
		<?php
		if($hasil->L12==1)
		{
		?>
                <td><input checked class="form-control" id="dra" name="dra" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="dra" name="dra" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		else
		{
		?>
                <td><input class="form-control" id="dra" name="dra" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input checked class="form-control" id="dra" name="dra" type="radio" class="" value="tidak" />
        		</center></td>
		<?php
		}
		?>
				<td><input class="form-control" id="ket36" type="text" name="ket37" maxlength="50" value="<?php echo $hasil->KL12; ?>" /></td>
				</tr><tr></tbody>
</table>
<label for="nama">NIK Anggota <span class="required">*</span></label>
        <input required class="form-control" id="nama1" type="text" name="nama1" maxlength="50" value="<?php echo $hasil->ANGGOTA; ?>"  />
        <input required class="form-control" id="nama2" type="hidden" name="nama2" maxlength="50" value="<?php echo $hasil->ANGGOTA2; ?>"  />
</br></br>
<?php
}
?>
		Pengawas Telah Memvalidasi
		<?php
		if($this->session->userdata('role')==3)
		{
			if($hasil->PENGAWAS)
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>" checked></br></br>
			<input name="pengawas" type="hidden" value="<?php echo $hasil->PENGAWAS; ?>">
			<?php
			}
			else
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>"></br></br>
			<input name="pengawas" type="hidden" value="">
			<?php
			}
			?>
			Sekretaris Telah Memvalidasi
			<?php
			if($hasil->STATUS==3)
			{
			?>
			<input name="skertaris" type="checkbox" value="1" checked></br></br>
			<?php
			}
			else
			{
			?>
			<input name="skertaris" type="checkbox" value="1"></br></br>
			<?php
			}
		}
		else if($this->session->userdata('role')==1)
		{
			if($hasil->PENGAWAS)
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>" checked></br></br>
			<input name="pengawas" type="hidden" value="<?php echo $this->session->userdata('user_name'); ?>">
			<?php
			}
			else
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>"></br></br>
			<input name="pengawas" type="hidden" value="">
			<?php
			}
			?>
			Sekretaris Telah Memvalidasi
			<?php
			if($hasil->STATUS==3)
			{
			?>
			<input disabled name="skertaris" type="checkbox" value="1" checked></br></br>
			<input name="skertaris" type="hidden" value="<?php echo $hasil->STATUS; ?>"></br></br>
			<?php
			}
			else
			{
			?>
			<input disabled name="skertaris" type="checkbox" value="1"></br></br>
			<input name="skertaris" type="hidden" value="<?php echo $hasil->STATUS; ?>"></br></br>
			<?php
			}
		}
		else
		{
			if($hasil->PENGAWAS)
			{
			?>
			<input name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>" checked></br></br>
			<?php
			}
			else
			{
			?>
			<input name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>"></br></br>
			<?php
			}
		}
		?>

<input name="submit" type="submit" class="btn btn-primary" value="Kirim"/>
</div></div>

	</body>
	</html>